package org.eclipse.emf.index.omds.keybindings;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.IHandler;
import org.eclipse.emf.index.omds.ui.DialogBoxCreator;
import org.eclipse.ui.PlatformUI;

public class BindingHandler extends AbstractHandler implements IHandler {

	@Override
	public Object execute(ExecutionEvent event) throws ExecutionException {
		DialogBoxCreator dialog = new DialogBoxCreator(PlatformUI.createDisplay().getActiveShell());
		dialog.setInitialPattern("");
		dialog.open();
		return null;
	}

}
